package kayao.client.scene.objects;

import android.util.Log;

import com.chopsticks3d.math.FastMath;
import com.chopsticks3d.scene.SceneNode;

public class PhysicalNode extends SceneNode {
	protected int mBodyId = -1;
	
	public int getBodyId() {
		return mBodyId;
	}
	
	public void setBodyId(int bodyId) {
		mBodyId = bodyId;
	}
	
	public void setValues(float x, float z, float angle, float vx, float vz) {
		setTranslationX(x);
		setTranslationZ(z);
		setRotationY(-angle * FastMath.RAD_TO_DEG);
//		System.out.println("vx: " + vx + " vz: " + vz);7
	}
}
